const { DataTypes } = require('sequelize');
const sequelize = require('../index');

const workDict = sequelize.define('db_work_dicts', {
    id: {
        type: DataTypes.INTEGER,
        primaryKey: true,
        autoIncrement: true
    },
    label: {
        type: DataTypes.STRING
    },
    value: {
        type: DataTypes.STRING
    },
    type: {
        type: DataTypes.INTEGER
    },
}, {
    timestamps: false
});

module.exports = { workDict };
